package com.bl.student.service.vo.admin;

import com.bl.student.common.enums.UserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 * Created by liangweikang on 18/3/17.
 */
@Data
@ApiModel(value = "AdminAddVo", description = "管理员增加")

public class AdminAddVo {

    @ApiModelProperty(value = "帐号")
    private String account;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "电话号码")
    private String mobile;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "管理员状态")
    private UserStatus status;
}
